package com.aizhixin.lab.project.course.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Data
@Entity(name = "c_project")
public class TeacherProject {
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "project_name")
    private String projectName;
    @Column(name = "template_id")
    private String templateId;
    @Column(name ="project_genre_id")
    private Integer projectGenreId;
    @Column(name = "parent_id")
    private String parentId;
    @Column(name = "project_desc")
    private String projectDesc;
    @Column(name = "project_image_url")
    private String projectImageUrl;
    @Column(name = "project_video")
    private String projectVideo;
    @Column(name = "project_type")
    private String projectType;
    @Column(name = "language")
    private String language;
    @Column(name = "created_by")
    private Long createdBy;
    @Column(name = "created_date")
    private Date createdDate;
    @Column(name = "delete_flag")
    private Integer deleteFlag;
    @Column(name = "is_publish")
    private Integer isPublish;
    @Column(name = "task_num")
    private Integer taskNum;
    @Column(name = "work_order_num")
    private Integer workOrderNum;
    @Column(name = "module_num")
    private Integer moduleNum;
    @Column(name = "class_hour")
    private Float classHour;
    @Column(name = "project_screenshots")
    private String projectScreenshots;
    @Column(name = "is_archive")
    private Integer isArchive;
    @Column(name = "is_reply")
    private Integer isReply;
    @Column(name = "other_teacher")
    private String otherTeacher;
    @Column(name = "vm_name")
    private String vmName;
    @Column(name = "vm_num")
    private Integer vmNum;
    @Column(name = "version")
    private String version;
    @Column(name = "is_leader_grade")
    private Boolean isLeaderGrade=false;
}
